package org.example.demo4.model;

import io.swagger.v3.oas.annotations.media.Schema;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.util.Date;

/**
 * 实体类。
 *
 * @author mybatis-flex-helper automatic generation
 * @since 1.0
 */
@Schema(description = "oa流程对象")
@Table(value = "freight_oa")
public class FreightOaEntity {

    /**
     * oa流程表主键
     */
    @Schema(description = "oa流程表主键")
    @Id(keyType = KeyType.Auto)
    private Long oaId;

    /**
     * oa流程id
     */
    @Schema(description = "oa流程id")
    @Column(value = "request_id")
    private Integer requestId;

    /**
     * 调整类型 0：新增  1：修改
     */
    @Schema(description = "调整类型 0：新增  1：修改")
    @Column(value = "adjustment_type")
    private Integer adjustmentType;

    /**
     * 调整数量
     */
    @Schema(description = "调整数量")
    @Column(value = "adjustment_num")
    private Integer adjustmentNum;

    /**
     * 货运类型（专车，快运-按体积，快运-按重量，快递-按体积，固定包月）
     */
    @Schema(description = "货运类型（专车，快运-按体积，快运-按重量，快递-按体积，固定包月）")
    @Column(value = "freight_type")
    private Integer freightType;

    /**
     * oa流程状态，0：审批中  1：审批拒绝  2：审批通过
     */
    @Schema(description = "oa流程状态，0：审批中  1：审批拒绝  2：审批通过")
    @Column(value = "request_status")
    private Integer requestStatus;

    /**
     * 审批通过时间
     */
    @Schema(description = "审批通过时间")
    @Column(value = "request_pass_time")
    private Date requestPassTime;

    /**
     * 启用状态（0正常 1停用）
     */
    @Schema(description = "启用状态（0正常 1停用）")
    @Column(value = "status")
    private Integer status;

    /**
     * 创建者
     */
    @Schema(description = "创建者")
    @Column(value = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @Column(value = "create_time")
    private Date createTime;

    /**
     * 更新者
     */
    @Schema(description = "更新者")
    @Column(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    @Column(value = "update_time")
    private Date updateTime;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @Column(value = "remark")
    private String remark;


    public Long getOaId() {
        return oaId;
    }

    public void setOaId(Long oaId) {
        this.oaId = oaId;
    }

    public Integer getRequestId() {
        return requestId;
    }

    public void setRequestId(Integer requestId) {
        this.requestId = requestId;
    }

    public Integer getAdjustmentType() {
        return adjustmentType;
    }

    public void setAdjustmentType(Integer adjustmentType) {
        this.adjustmentType = adjustmentType;
    }

    public Integer getAdjustmentNum() {
        return adjustmentNum;
    }

    public void setAdjustmentNum(Integer adjustmentNum) {
        this.adjustmentNum = adjustmentNum;
    }

    public Integer getFreightType() {
        return freightType;
    }

    public void setFreightType(Integer freightType) {
        this.freightType = freightType;
    }

    public Integer getRequestStatus() {
        return requestStatus;
    }

    public void setRequestStatus(Integer requestStatus) {
        this.requestStatus = requestStatus;
    }

    public Date getRequestPassTime() {
        return requestPassTime;
    }

    public void setRequestPassTime(Date requestPassTime) {
        this.requestPassTime = requestPassTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
